#!/bin/bash
# kitty
git config --global alias.d difftool

git config --global core.editor "nvim"
git config --global color.ui true
git config --global core.ignorecase false
git config --global core.quotepath false
git config --global color.status auto
git config --global color.diff auto
git config --global color.branch auto
git config --global color.interactive auto
git config --global alias.l "log --graph --pretty=format:'%Cred%h%Creset %Cgreen(%ad) -%C(yellow)%D%Creset %s %C(bold blue)<%an>%Creset'  --date=format-local:'%Y-%m-%d %a %H:%M:%S'"

git config --global merge.tool meld
git config --global mergetool.prompt false

# diff-so-fancy
git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"
git config --global color.ui true
git config --global color.diff-highlight.oldNormal "red bold"
git config --global color.diff-highlight.oldHighlight "red bold 52"
git config --global color.diff-highlight.newNormal "green bold"
git config --global color.diff-highlight.newHighlight "green bold 22"
git config --global color.diff.meta "yellow"
git config --global color.diff.frag "magenta bold"
git config --global color.diff.commit "yellow bold"
git config --global color.diff.old "red bold"
git config --global color.diff.new "green bold"
git config --global color.diff.whitespace "red reverse"
